<template>
	<el-dialog  v-model="show" title="提现申请" width="620" align-center>
        <div class="list">
            <div class="item">
                <span class="name">
                    可提现金额：
                </span>
                <span class="value">
                    ¥  556.00
                </span>
            </div>
            <div class="item">
                <span class="name">
                    费率：
                </span>
                <span class="value">
                    0.6%
                </span>
            </div>
            <div class="item" style="margin-bottom:30px">
                <span class="name">
                    提现金额（元）：
                </span>
                <span class="value">
                    ¥  556.00
                </span>
                <div class="tip">
                    注：扣除手续费后提现金额最高为0,不足1元，不可提现
                </div>
            </div>
            <div class="item">
                <span class="name">
                    手续费：
                </span>
                <span class="value">
                    ¥  32
                </span>
            </div>
            <div class="item">
                <span class="name">
                    实际到账金额：
                </span>
                <span class="value">
                    ¥  524.00
                </span>
            </div>
        </div>
        <template #footer>
            <div class="dialog-footer">
                <el-button type="primary" @click="submit(ruleFormRef)" color="#0071bb">确定</el-button>
                <el-button @click="close()">取消</el-button>
            </div>
        </template>
    </el-dialog>
</template>

<script lang="ts" setup>
import { ref } from "vue";
import type { FormInstance, FormRules } from 'element-plus'
import { ElMessage } from 'element-plus'
import { Plus } from '@element-plus/icons-vue'
import { defineProps,defineEmits,toRefs } from 'vue';
const emit = defineEmits(['close','submit']);
const props = defineProps<{ type:number,formData:any }>();
// 取消
const close = () => {
    emit('close')
}
const show = ref<boolean>(true)
</script>

<style lang="scss" scoped>
.df{
    display: flex;
    align-items: center;
}
.list{
    padding: 0 30px;

    box-sizing: border-box;
    .item{
        height: 40px;
        line-height: 40px;
        color: #4D4D4D;
        font-size: 16px;
        position: relative;
        .name{
            width: 180px;
            display: inline-block;
            text-align: right;
        }
        .tip{
            position: absolute;
            color: #989898;
            font-size: 14px;
            top: 30px;
            left: 180px;
        }
    }
}
.dialog-footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
}
</style>